package com.ruoyi.talk.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 好友对象 talk_friend
 * 
 * @author HaiWang
 * @date 2023-05-18
 */
public class Friend extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 好友关系id */
    @Excel(name = "好友关系id")
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 好友id */
    @Excel(name = "好友id")
    private Long friendId;

    /** 好友备注 */
    @Excel(name = "好友备注")
    private String friendRemark;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }
    public void setFriendId(Long friendId) 
    {
        this.friendId = friendId;
    }

    public Long getFriendId() 
    {
        return friendId;
    }
    public void setFriendRemark(String friendRemark) 
    {
        this.friendRemark = friendRemark;
    }

    public String getFriendRemark() 
    {
        return friendRemark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("friendId", getFriendId())
            .append("friendRemark", getFriendRemark())
            .toString();
    }
}
